when ukraine joins nato russia will immediately attack it.
Putin is actually more concerned with the Ukraine joining the European Union, than he is about NATO. As a member of the EU, Ukraine can walk away from their economic reliance on Russia...and Russia cannot afford that.